/**
 * 材质基础属性 
 */

import { Descriptions } from "antd";
import EditMaterial from "../../";
import VisibleItem from "./items/VisibleItem";

export default function MaterialProperties() {

    const controller = EditMaterial.useController();

    const material = controller.useMemo(s => s.material, []);

    if (!material || !material.isMaterial) <></>;

    return (
        <Descriptions bordered column={1} size="small" >
            <Descriptions.Item label="是否可见" labelStyle={{ width: 70 }} >
                <VisibleItem />
            </Descriptions.Item>
        </Descriptions>
    )
}